package com.leaf.spring.y201911.day15.dto;

import com.leaf.spring.y201911.day15.MyClassLoader;
import com.leaf.spring.y201911.day15.manager.BaseManager;

public class LoadInfo {
	
	/** 自定义的类加载器 */
	private MyClassLoader myClassLoader;
	
	/** 记录要加载的类的时间戳-->加载的时间 */
	private long loadTime;
	
	/** 需要被热加载的类 */
	private BaseManager baseManager;

	public LoadInfo(MyClassLoader myClassLoader, long loadTime) {
		super();
		this.myClassLoader = myClassLoader;
		this.loadTime = loadTime;
	}

	public MyClassLoader getMyClassLoader() {
		return myClassLoader;
	}

	public void setMyClassLoader(MyClassLoader myClassLoader) {
		this.myClassLoader = myClassLoader;
	}

	public long getLoadTime() {
		return loadTime;
	}

	public void setLoadTime(long loadTime) {
		this.loadTime = loadTime;
	}

	public BaseManager getBaseManager() {
		return baseManager;
	}

	public void setBaseManager(BaseManager baseManager) {
		this.baseManager = baseManager;
	}

}
